package com.example.springboot.mapper.blog.service;

import com.example.springboot.entity.Blog;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @param
 * @Description: 类描述
 * @Author: allan5945@qq.com
 * @Date: 2018/10/24
 * @return:
 * @throws:
 */
public interface BlogService {
    List<Blog> selectHotBlog(Integer pageNum,Integer pageSize, ArrayList<String> con);
    Blog selectBlog(Integer id);
    Integer blogeCount(ArrayList<String> con);
    Boolean addBlog(Blog blog);
    Boolean delectBlog(Integer id,Integer userid);
    List<String> getHotTag(Integer pageNum,Integer pageSize);
    List<String> getTag(Integer userId);
    List<Blog> selectUserBlog(Integer belongerId);
}
